package com.leileimann.tour.entity;

import org.neo4j.ogm.annotation.NodeEntity;

import java.util.List;

/**
 * @author leileiMann
 * @date 2022/3/8 14:38
 * 景区实体
 */
@NodeEntity
public class SSpot {
    private Long id;
    private String sspotname;
    private String address;
    private String picture;
    private String score;
    private String cityname;
    private String pagelink;
    private String locationX;
    private String locationY;
    private String price;
    /**景区介绍*/
    private String introduce;
    /**多少A级的标志*/
    private String anum;
    private List<SSpot> sSpotList;

    public SSpot() {}

    public SSpot(Long id, String sspotname, String address, String picture, String score, String cityname, String pagelink, String locationX, String locationY, String introduce, String anum,String price) {
        this.id = id;
        this.sspotname = sspotname;
        this.address = address;
        this.picture = picture;
        this.score = score;
        this.cityname = cityname;
        this.pagelink = pagelink;
        this.locationX = locationX;
        this.locationY = locationY;
        this.introduce = introduce;
        this.anum = anum;
        this.price = price;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSspotname() {
        return sspotname;
    }

    public void setSspotname(String sspotname) {
        this.sspotname = sspotname;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getCityname() {
        return cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }

    public String getPagelink() {
        return pagelink;
    }

    public void setPagelink(String pagelink) {
        this.pagelink = pagelink;
    }

    public String getLocationX() {
        return locationX;
    }

    public void setLocationX(String locationX) {
        this.locationX = locationX;
    }

    public String getLocationY() {
        return locationY;
    }

    public void setLocationY(String locationY) {
        this.locationY = locationY;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getAnum() {
        return anum;
    }

    public void setAnum(String anum) {
        this.anum = anum;
    }

    public String getPrice(){
        return price;
    }

    public void setPrice(String price){
        this.price = price;
    }

    public List<SSpot> getsSpotList() {
        return sSpotList;
    }

    public void setsSpotList(List<SSpot> sSpotList) {
        this.sSpotList = sSpotList;
    }

    @Override
    public String toString() {
        return "SSpot{" +
                "id=" + id +
                ", sspotname='" + sspotname + '\'' +
                ", address='" + address + '\'' +
                ", picture='" + picture + '\'' +
                ", score='" + score + '\'' +
                ", cityname='" + cityname + '\'' +
                ", pagelink='" + pagelink + '\'' +
                ", locationX='" + locationX + '\'' +
                ", locationY='" + locationY + '\'' +
                ", introduce='" + introduce + '\'' +
                ", anum='" + anum + '\'' +
                ", price='" + price + '\'' +
                '}';
    }
}
